#include <stdio.h>

int main() {
	int i = 0;
	char a[40];
	gets (a);
	while (a[i] != '\0')
		i++;
	printf("length=%d", i);
}
